package com.sunwayhorizo.health.hl7.persistent;

import com.sunwayhorizo.health.hl7.persistent.pk.RimCoreEntyPartQlfrsPK;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.NamedQuery;
import javax.persistence.Table;


@Entity
@NamedQuery(name = "RimCoreEntyPartQlfrs.findAll",     query = "select o from RimCoreEntyPartQlfrs o")
@Table(name = "RIM_CORE_ENTY_PART_QLFRS")
@IdClass(RimCoreEntyPartQlfrsPK.class)
public class RimCoreEntyPartQlfrs implements Serializable {
    @Id
    @Column(name="ENTITY_ID", nullable = false)    private Long entityId;
    @Id
    @Column(name="ENTITY_NAME_ID", nullable = false)    private Long entityNameId;
    @Id
    @Column(name="ENTITY_NAME_PART_ID", nullable = false)    private Long entityNamePartId;
    @Id
    @Column(name="ENTITY_VERSION_NUM", nullable = false)    private Long entityVersionNum;
    
    @Id
    @Column(name="QUALIFIER_CODE", nullable = false)    private String qualifierCode;

    public RimCoreEntyPartQlfrs() {
    }

    public Long getEntityId() {
        return entityId;
    }

    public void setEntityId(Long entityId) {
        this.entityId = entityId;
    }

    public Long getEntityNameId() {
        return entityNameId;
    }

    public void setEntityNameId(Long entityNameId) {
        this.entityNameId = entityNameId;
    }

    public Long getEntityNamePartId() {
        return entityNamePartId;
    }

    public void setEntityNamePartId(Long entityNamePartId) {
        this.entityNamePartId = entityNamePartId;
    }

    public Long getEntityVersionNum() {
        return entityVersionNum;
    }

    public void setEntityVersionNum(Long entityVersionNum) {
        this.entityVersionNum = entityVersionNum;
    }

    public String getQualifierCode() {
        return qualifierCode;
    }

    public void setQualifierCode(String qualifierCode) {
        this.qualifierCode = qualifierCode;
    }
}
